<?php
/*
define('DB_HOST', 'sql3.freesqldatabase.com');
define('DB_USERNAME', 'sql322464');
define('DB_PASS', 'uM2!mE3!');
define('DB_DATABASE_NAME', 'sql322464');
*/
define('DB_HOST', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASS', 'root');
define('DB_DATABASE_NAME', 'wine');

define('HOST', @$_SERVER["HTTP_HOST"]);
define('CATEGORY_HOST', "/wine/wine_10-11-2013"); // Set NULL when release
define('URL_BASE', "http://" . HOST . CATEGORY_HOST);
define('IMAGE_PROD_FOLDER', "images");
define('PICTURE_PROD_FOLDER', "pic");

// Config Mail
define('SMTP_HOST', 'smtp.gmail.com');
define('SMTP_PORT', '465');
define('SMTP_SSL', 'ssl');
define('SMTP_USER', 'mylove.nguoiay@gmail.com');
define('SMTP_PASS', ')@)#!(*(');
define('SMTP_AUTH', 'login');
define('MAIL_FROM', 'nguoiay.mylove@gmail.com');
define('To_BCC', null);

// Config path
//define('MAIL_TEMPLATE_FILE_PATH', "Lib/UCM040MailConfirm.txt"); //on release
define('MAIL_TEMPLATE_FILE_PATH', "UCM040MailConfirm.txt");
define('REPORT_FOLDER_NAME', "report");
define('REPORT_FOLDER_URL', realpath(dirname(__FILE__)) . '/../../' . REPORT_FOLDER_NAME);